<!-- TWO STEPS TO INSTALL TEXT BOX: 1. Paste the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!--Total Java Scripts 99 - Next Step Software--> <!-- Begin var display_text = "Here is the common scroll - except, " + " this one runs in a text box rather than the status bar. " + " There is more cool stuff like this on TJS !! " var display_text; var place; var meter; var out = " "; var place = 50; function scroll_text() { for (meter = 0; meter < place; meter++) { out += " "} if (place >= 0) out += display_text else out = display_text.substring(-place,display_text.length) document.scroll_form.field.value = out out = " " place-- if (place < -(display_text.length)) { place = 50 } setTimeout('scroll_text()',100) } // End --> </SCRIPT> <!-- STEP TWO: Put this code into the BODY of your HTML document --> <BODY> <CENTER> <FORM NAME="scroll_form"> <input type="button" name="button_one" value="Start" onClick="scroll_text()"> <input type="text" name="field" size="50"> </FORM> </CENTER> <!-- Script Size: 1.30 KB -->
1998 Copyright (C) Next Step All Rights Reserved